direct method of calculating mean. There are any references about direct method of calculating mean in here. you can look below.